package com.wangbo.ws.server;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiWorld {

    @GetMapping("/hi/{word}")
    public String hi(@PathVariable String word) {
        return "我是waves," + word;
    }
}
